-- GENERATED SPELL FOR [Nefaru] --


function spell0_534(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_534', 8000, 1)
end

function spell1_534(pUnit, Event) --@Terrifying Howl,Self--
pUnit:FullCastSpellOnTarget(8715,pUnit)
pUnit:RegisterEvent('Sorts_534', 3000, 1)
end

function Sorts_534(pUnit, Event)
local choix_sorts_534 = math.random(0, 1)
if choix_sorts_534 == 0 then
pUnit:RegisterEvent('spell0_534', 1, 1)
end
if choix_sorts_534 == 1 then
pUnit:RegisterEvent('spell1_534', 1, 1)
end
end

function mob534_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_534', math.random(1500, 3000), 1)
end

function mob534_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob534_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob534_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(534, 1, 'mob534_Action')
RegisterUnitEvent(534, 2, 'mob534_Leave')
RegisterUnitEvent(534, 3, 'mob534_Kill')
RegisterUnitEvent(534, 4, 'mob534_Die')
